<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
	xmlns:t="https://code.google.com/p/rad-framework/taglib"
	xmlns:tt="https://code.google.com/p/rad-framework"
	xmlns:s="http://jboss.com/products/seam/taglib">
	
	<f:subview id="#{id}" rendered="#{t:rendered(value,id)}">
		<ui:include
			src="/#{viewPath == null ? 'jsf' : viewPath}/#{type}/ViewPanel.xhtml">
			<ui:param name="entity" value="#{value}"/>
			<ui:param name="label" value="#{label}"/>
		</ui:include>
	</f:subview>
	
</ui:composition>